package org.zpmis.domain.role.vo;

import lombok.Data;
import org.zpmis.domain.role.model.SysRole;
import org.zpmis.domain.user.model.SysUser;

@Data
public class AllSysRoleVo {
    /**
     * 角色id
     */
    private Long id;
    /**
     * 角色名称
     */
    private String roleName;

    public AllSysRoleVo(SysRole sysRole) {
        this.id = sysRole.getId();
        this.roleName = sysRole.getRoleName();
    }
}
